package com.jd.pet.domain;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.jd.basic.domain.BaseDomain;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;

/**
 * 实体类：
 */
@Data
public class PetType extends BaseDomain{

    private String name;
    private String description;
    private String dirPath;
    @JsonInclude(JsonInclude.Include.NON_EMPTY)
    private List<PetType> children = new ArrayList<>();
    /**
     * 父类型id
     */
    private Long pid;


}
